package com.servertrack

import grails.test.mixin.TestFor
import spock.lang.Specification
//import org.junit.*

/**
 * See the API for {@link grails.test.mixin.services.ServiceUnitTestMixin} for usage instructions
 */
@TestFor(TurService)
//@Mock([Tur])
class TurServiceSpec extends Specification {

  /* void Turgetlist(){
	   def tur1=new Tur(title:"Turkey",description:"This is a good tur", dateCreated: new Date("1989/1/9"))
	   def tur2=new Tur(title:"Egypt",description:"This is a very good tur", dateCreated: new Date("1989/1/9"))
	
	   def model=new TurService().getlist()
	   
	   assert model.size()==2
	   assert model[0].text=="Turkey"
	   assert model[0].id=="Turkey"
	   assert model[1].text=="Egypt"
	   assert model[0].id=="Egypt"
	   }
    
   def cleanup() {
    }

    void "test something"() {
    }*/
}
